package com.heima.service.impl;

import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.heima.pojo.Channel;
import com.heima.mapper.ChannelMapper;
import com.heima.pojo.vo.ChannelVo;
import com.heima.service.IChannelService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 售货机货道表 服务实现类
 * </p>
 *
 * @author xjy
 * @since 2024-06-11
 */
@Service
public class ChannelServiceImpl extends ServiceImpl<ChannelMapper, Channel> implements IChannelService {
    @Autowired
    private ChannelMapper channelMapper;

    @Override
    public List<ChannelVo> channelList(String innerCode) {
        return channelMapper.channelList(innerCode);
    }
}
